<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>管理员注册</title>
<link href="static/bootstrap/css/bootstrap-datetimepicker.min.css"
	rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css"
	href="static/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
<style type="text/css">
#containter {
	width: 80%;
	margin: 0 auto;
}
</style>
</head>
<body style="background-color:#F3F3F4">
	<div id="containter">
		<form class="form-horizontal" action="ManagerRegisterAction2" method="post" enctype="multipart/form-data">
			<!-- 约定：form表单的那么属性值要与（对应实体类的属性名【数据库的字段名】）保持一致【大小写敏感】 -->

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">管理员姓名</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="manager_name"
						name="manager_name" placeholder="请输入管理员姓名">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">邮箱</label>
				<div class="col-sm-3">
					<input type="email" class="form-control" id="manager_email"
						name="manager_email" placeholder="请输入邮箱">
				</div>
			</div>
			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">输入密码</label>
				<div class="col-sm-3">
					<input type="password" class="form-control"
						 placeholder="请输入密码">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">确认密码</label>
				<div class="col-sm-3">
					<input type="password" class="form-control" id="manager_psw"
						name="manager_psw" placeholder="确认密码">
				</div>
			</div>
			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">地址</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="manager_address"
						name="manager_address" placeholder="请输入地址">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">联系方式</label>
				<div class="col-sm-3">
					<input type="text" class="form-control" id="manager_tel"
						name="manager_tel" placeholder="请输入联系方式">
				</div>
			</div>

			<div class="form-group" style="margin-top: 30px;">
				<label class="col-sm-2 control-label col-sm-offset-2">注册日期</label>
				<div class="input-group date form_datetime col-sm-3"
					data-date="1979-09-16T05:25:07Z"
					data-date-format="dd MM yyyy - HH:ii p"
					data-link-field="dtp_input1">
					<input type="text" class="form-control" style="margin-left:15px" size="14" id="manager_date"
						name="manager_date" placeholder="年/月/日"> <span
						class="input-group-addon"><span
						class="glyphicon glyphicon-remove" style="margin-left:15px"></span></span> <span
						class="input-group-addon"><span
						class="glyphicon glyphicon-th"></span></span>
				</div>
				<input type="hidden" id="dtp_input1" /><br />
			</div>
			<div class="form-group" style="margin-top: 0px;">
				<label class="col-sm-2 control-label col-sm-offset-2">上传头像</label>
				<div class="col-sm-3">
					<input type="file" class="form-control" id="manager_img"
						name="manager_img" placeholder="上传头像">
				</div>
			</div>

			<div class="form-group" style="margin-top: 10px;">
				<div class="col-sm-offset-5 col-sm-2">
					<button type="submit" class="btn btn-default">马上注册！</button>
				</div>
			</div>
		</form>

		<script type="text/javascript" src="static/js/jquery-1.12.4.min.js"></script>
		<script type="text/javascript"
			src="static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
		<script type="text/javascript"
			src="static/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script type="text/javascript"
			src="static/bootstrap/js/bootstrap-datetimepicker.fr.js"></script>
		<script type="text/javascript">
			$(function() {
				$(".form_datetime").datetimepicker({
					format : "yyyy-mm-dd hh:ii",
					autoclose : true,
					todayBtn : true,
					pickerPosition : "right"
				});
			});
		</script>
	</div>
</body>
</html>